package com.pig4cloud.pig.bzg.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pig4cloud.pig.bzg.entity.WzPhotoNewsEntity;
import com.pig4cloud.pig.bzg.mapper.WzPhotoNewsMapper;
import com.pig4cloud.pig.bzg.service.WzPhotoNewsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 图片新闻表
 *
 * @author
 * @date 2025-07-31 11:08:42
 */
@Service
public class WzPhotoNewsServiceImpl extends ServiceImpl<WzPhotoNewsMapper, WzPhotoNewsEntity> implements WzPhotoNewsService {

	@Autowired
	private WzPhotoNewsMapper wzPhotoNewsMapper;
	@Override
	public IPage<WzPhotoNewsEntity> selectWzPhotoNewsList(Page page, WzPhotoNewsEntity entity) {
		return wzPhotoNewsMapper.selectWzPhotoNewsList(page, entity.getCreateBy(), entity.getTitle());
	}
}